package cn.hp.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券类型表(TblCouponClass)实体类
 *
 * @author makejava
 * @since 2021-10-27 10:30:19
 */
public class TblCouponClass implements Serializable {
    private static final long serialVersionUID = 440786886995486615L;

    private int id;
    /**
     * 优惠方式:1现金券,2折扣券
     */
    private int couponType;
    /**
     * 优惠券名称
     */
    private String couponName;
    /**
     * 抵扣金额
     */
    private BigDecimal reductionAmount;
    /**
     * 折扣比例(8, 7.5)
     */
    private BigDecimal discount;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 最后修改人id
     */
    private Integer operatorId;
    /**
     * 暂停:0否1是
     */
    private int isPause;

    @Override
    public String toString() {
        return "TblCouponClass{" +
                "id=" + id +
                ", couponType=" + couponType +
                ", couponName='" + couponName + '\'' +
                ", reductionAmount=" + reductionAmount +
                ", discount=" + discount +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", operatorId=" + operatorId +
                ", isPause=" + isPause +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public BigDecimal getReductionAmount() {
        return reductionAmount;
    }

    public void setReductionAmount(BigDecimal reductionAmount) {
        this.reductionAmount = reductionAmount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public int getIsPause() {
        return isPause;
    }

    public void setIsPause(int isPause) {
        this.isPause = isPause;
    }
}
